home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Freelog Special Freeware 31
/
FreelogHS31.iso
/
ArgentCompta
/
FASTCAISSE
/
Setup FASTCAISSE.exe
/
{app}
/
A faire68.sql
< prev
next >
Wrap
Text File
|
2005-03-10
|
571b
|
26 lines
CREATE TABLE "CAISSES"
(
"INDX" SMALLINT NOT NULL,
"NOM" VARCHAR(35),
"SOLDE" DECIMAL(12,2),
"DATESOLDE" DATE,
PRIMARY KEY ("INDX")
);
CREATE GENERATOR GENPK_CAISSES;
INSERT INTO CAISSES SELECT GEN_ID(GENPK_CAISSES,1)-1,DESIGNATION,NULL,NULL FROM CHAINES WHERE TYPEC=13;
ALTER TABLE ARTICLES ADD INDXPACK SMALLINT;
ALTER TABLE ARTICLES ADD QTEPACK DECIMAL(6,2);
CREATE TABLE "PACKS"
(
"NOTIERS" INTEGER NOT NULL,
"INDXPACK" SMALLINT,
"QTEPACK" DECIMAL(6,2)
);
DELETE FROM CHAINES WHERE TYPEC=13;
SET GENERATOR VERSION_BASE TO 68;